package decorator;

/**
 * 抽象装饰角色
 *
 * @author zhang he qiang
 */
public class Decorator implements Component {
    private Component component;
    public Decorator(Component component)
    {
        this.component=component;
    }
    public void operation()
    {
        component.operation();
    }
}
